package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum MemberPointLogEvent {
    customer_taxi(0, "乘客打车消费"),
    customer_merchant(1, "乘客商城消费"),
    recommend_customer(2, "推荐乘客"),
    recommend_driver(3, "推荐司机"),
    recommend_merchant(4, "推荐商家"),
    recommend_commodity(5, "分享商品"),
    consume(6, "消费"),
    driver_taxi(7, "司机接单"),
    driver_merchant(8, "司机商城消费"),
    driver_get_praise(9, "司机得好评"),
    customer_register_coupon(10, "新用户注册发放优惠券"),
    customer_recharge(11, "乘客充值"),
    customer_sign_in(12, "乘客签到"),
    customer_logout(13, "乘客注销扣除积分");

    @EnumValue
    private final int code;
    private final String desc;

    MemberPointLogEvent(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
